package com.qianbao.service.coinrecord;

import com.qianbao.components.excepion.CommonException;
import com.qianbao.domain.coinrecord.CoinRecordEntity;

import java.util.List;

public interface CoinRecordService {

    /**
     * 查询当前用户的金币记录
     * @param entity
     * @return
     * @throws CommonException
     */
    public List<CoinRecordEntity> findAllRecordList(CoinRecordEntity entity) throws CommonException;


    /**
     * 插入一条记录
     * @param custom_id
     * @param coin_number
     * @param coin_record_tip
     */
    public void saveCoinRecord(String custom_id, String coin_number, String coin_record_tip);

}
